//
//  CenterFourCell.m
//  ShangHaiTuJI
//
//  Created by xiaoxiangtuji on 2017/11/7.
//  Copyright © 2017年 xiaoxiangtuji. All rights reserved.
//

#import "CenterFourCell.h"
#import "InstituteModel.h"
@implementation CenterFourCell
-(void)setModel:(InstituteModel *)model{
    _model = model;
    _pictureView = [[UIImageView alloc] init];
    _pictureView.layer.cornerRadius = 3;
    _pictureView.layer.masksToBounds = YES;
    [_pictureView sd_setImageWithURL:[NSURL URLWithString:model.imgPath] placeholderImage:[UIImage imageNamed:@""]];
    [self.contentView addSubview:_pictureView];
    [_pictureView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(self.contentView).with.insets(UIEdgeInsetsMake(0, 0, 0, 0));
    }];
}

@end
